package com.ruoyi.project.system.create.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 直播列表对象 sys_live_create
 * 
 * @author ruoyi
 * @date 2024-11-25
 */
public class LiveCreate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 直播间ID */
    private Long roomId;

    /** 标题 */
    @Excel(name = "标题")
    private String liveTitle;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date liveTimeStart;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date liveTimeEnd;

    /** 直播状态 */
    @Excel(name = "直播状态")
    private String liveStatus;

    /** 主持人 */
    @Excel(name = "主持人")
    private String liveHost;

    /** 封面 */
    @Excel(name = "封面")
    private String liveCoverImg;

    /** 是否允许转发 */
    @Excel(name = "是否允许转发")
    private String liveIfallowPravite;

    /** 是否允许评论 */
    @Excel(name = "是否允许评论")
    private String liveIfallowComment;

    /** 直播类型ID */
    @Excel(name = "直播类型ID")
    private Long typeId;

    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }

    public void setLiveTitle(String liveTitle) 
    {
        this.liveTitle = liveTitle;
    }

    public String getLiveTitle() 
    {
        return liveTitle;
    }

    public void setLiveTimeStart(Date liveTimeStart) 
    {
        this.liveTimeStart = liveTimeStart;
    }

    public Date getLiveTimeStart() 
    {
        return liveTimeStart;
    }

    public void setLiveTimeEnd(Date liveTimeEnd) 
    {
        this.liveTimeEnd = liveTimeEnd;
    }

    public Date getLiveTimeEnd() 
    {
        return liveTimeEnd;
    }

    public void setLiveStatus(String liveStatus) 
    {
        this.liveStatus = liveStatus;
    }

    public String getLiveStatus() 
    {
        return liveStatus;
    }

    public void setLiveHost(String liveHost) 
    {
        this.liveHost = liveHost;
    }

    public String getLiveHost() 
    {
        return liveHost;
    }

    public void setLiveCoverImg(String liveCoverImg) 
    {
        this.liveCoverImg = liveCoverImg;
    }

    public String getLiveCoverImg() 
    {
        return liveCoverImg;
    }

    public void setLiveIfallowPravite(String liveIfallowPravite) 
    {
        this.liveIfallowPravite = liveIfallowPravite;
    }

    public String getLiveIfallowPravite() 
    {
        return liveIfallowPravite;
    }

    public void setLiveIfallowComment(String liveIfallowComment) 
    {
        this.liveIfallowComment = liveIfallowComment;
    }

    public String getLiveIfallowComment() 
    {
        return liveIfallowComment;
    }

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roomId", getRoomId())
            .append("liveTitle", getLiveTitle())
            .append("liveTimeStart", getLiveTimeStart())
            .append("liveTimeEnd", getLiveTimeEnd())
            .append("liveStatus", getLiveStatus())
            .append("liveHost", getLiveHost())
            .append("liveCoverImg", getLiveCoverImg())
            .append("liveIfallowPravite", getLiveIfallowPravite())
            .append("liveIfallowComment", getLiveIfallowComment())
            .append("typeId", getTypeId())
            .toString();
    }
}
